﻿@import "variables.less";

@header-height: 90px;
@playbackColor: rgba(50, 180, 70, 1);

#editor-header {
    display: -ms-grid;
    
    -ms-grid-columns: 1fr;
    -ms-grid-rows: 1fr 1fr 1fr;

    padding-top: @collapsedAppbarHeight;

    .rules(@width) {
        -ms-grid-columns: @width 200px 1fr;
        -ms-grid-rows: 1fr;
    }
    @applyTrackHeaderWidth();

    > * {
        height: @header-height;
    }

    .time-display {

        time {
            display:block;
            text-align:center;
            font-family: 'Lucida Console';
        }

        .time-playback {
            color: @playbackColor;
            font-size: 20px;
        }

        .time-cursor {
        }
    }

    .playback-tools {
        -ms-grid-column: 1;
        -ms-grid-row: 2;

        @media(min-width:((@minWidthBreak+1px)))
        {   
            -ms-grid-column: 2;
            -ms-grid-row: 1;
        }

        display: flex;
        -ms-flex-flow: row;
        -ms-flex-align: center;

        button {
            display: block;
            min-width: 57.5px;
            height: 57.5px;
            font-size: 20px;
            margin: 1.5px;
        }
    }

    .selection-tools {
        -ms-grid-column: 1;
        -ms-grid-row: 3;

        @media(min-width:((@noMarginBreak+1px)))
        {   
            -ms-grid-column: 3;
            -ms-grid-row: 1;
        }

        &, & > section {
            display: flex;
            -ms-flex-flow: row;
            -ms-flex-align: center;
            justify-content: flex-end;
        }
        
        -ms-flex-flow: row-reverse;
    }
}